package com.lijian.dubbo.service.impl;

import com.lijian.dubbo.service.SlowService;

public class SlowServiceImpl implements SlowService{
	
	public String slow() {
		System.out.println("有人调用过我了");
		// 线程会阻塞2秒，需要异步
		try {
			Thread.sleep(5000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		return "我回来了";
	}

}
